package com.qf.ability.search.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 热搜词 实体类
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
@Document(indexName = "hot_word", shards = 1, replicas = 0)
@Data
public class HotWord {

    @Field(type = FieldType.Text, analyzer = "ik_max_word")
    private String keyword;
}
